package com.itcast.demo_one.kotlin

fun main(){
    val man = Person()
    man.name = "张三"
    man.age = 18
    man.show()

    val woman = Person()
    woman.name = "里斯"
    woman.age = 20
    woman.show()

}
class Person {
    var name: String =""
    var age: Int =0

    fun show(){
        println("name:$name, age:$age")
    }
}